import request from '@/utils/request'

// 查询房间统计信息
export function roomStatistics(query) {
  return request({
    url: '/lock/menu/roomStatistics',
    method: 'get',
    params: query
  })
}

// 查询钥匙到期状态统计
export function keyExpiryStatus(query) {
  return request({
    url: '/lock/menu/keyExpiryStatus',
    method: 'get',
    params: query
  })
}

// 查询告警数量
export function gaoJinCount(query) {
  return request({
    url: '/lock/menu/gaoJinCount',
    method: 'get',
    params: query
  })
}

// 查询无居住记录
export function wujuzhuCount(query) {
  return request({
    url: '/lock/menu/wujuzhuCount',
    method: 'get',
    params: query
  })
}

// 查询涉嫌转租15天无开门记录的房间
export function noOpenLock15Days(query) {
  return request({
    url: '/lock/menu/noOpenLock15Days',
    method: 'get',
    params: query
  })
} 